package a_obsolete;
import java.util.Date;

/**
 * TreatmentRecord
 * Holds information for each patient's treatment record
 *
 *
 *  Date           	Name            	Action
 *  --------------------------------------------------------------------------------------
 *	03/07/11		Bethany				Created class, added fields, getters and setters
 *
 *
 *
 */

public class TreatmentRecord {
	
	private Patient patient;
	private Doctor doctor;
	private Date date;
	private Nurse nurse;
	private DoctorsOrders doctorsOrders;
	private String symptoms;
	//vital signs
	private int[] bloodPressure;
	private int pulse;
	private double temp;
	private double weight;
	private int[] height;
	//
	private String diagnosis;
	
	/**
	 * Default TreatmentRecord constructor 
	 */
	public TreatmentRecord(){
		
	}
	
	/**
	 * Constructor for Treatment Record
	 * @param patient The patient getting the treatment
	 * @param doctor The doctor administering the treatment
	 * @param date The date of the record
	 * @param nurse The attending nurse
	 * @param doctorsOrders The doctors orders of the treatment
	 * @param symptoms The patient's symptoms
	 * @param bloodPressure The bloodPressue of the patient - 1st number in array is the numerator, 2nd number is the denominator
	 * @param pulse The pulse of the patient per minute
	 * @param temp The temperature of the patient in farenheit
	 * @param weight The weight of the patient in pounds
	 * @param height The height of the patient - 1st number is the feet, 2nd number is the inches
	 * @param diagnosis The doctor's diagnosis for the patient
	 */
	public TreatmentRecord(Patient patient, Doctor doctor, Date date, Nurse nurse, DoctorsOrders doctorsOrders, 
			String symptoms, int[] bloodPressure, int pulse, double temp, double weight, int[] height, String diagnosis){
		
		this.patient = patient;
		this.doctor = doctor;
		this.date = date;
		this.nurse = nurse;
		this.doctorsOrders = doctorsOrders;
		this.symptoms = symptoms;
		this.bloodPressure = bloodPressure;
		this.pulse = pulse;
		this.temp = temp;
		this.weight = weight;
		this.height = height;
		this.diagnosis = diagnosis;
		
	}

	/**
	 * Get the patient getting the treatment
	 * @return the patient getting the treatment
	 */
	public Patient getPatient() {
		return patient;
	}

	/**
	 * Set the patient getting the treatment
	 * @param patient the patient getting the treatment
	 */
	public void setPatient(Patient patient) {
		this.patient = patient;
	}

	/**
	 * Get the doctor administering the treatment
	 * @return the doctor administering the treatment
	 */
	public Doctor getDoctor() {
		return doctor;
	}

	/**
	 * Set the doctor administering the treatment
	 * @param doctor the doctor administering the treatment
	 */
	public void setDoctor(Doctor doctor) {
		this.doctor = doctor;
	}

	/**
	 * Get the date of the treatment
	 * @return the date of the treatment
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * Set the date of the treatment
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * Get the attending nurse for the treatment
	 * @return the nurse attending the treatment
	 */
	public Nurse getNurse() {
		return nurse;
	}

	/**
	 * Set the nurse attending the treatment
	 * @param nurse the nurse attending the treatment
	 */
	public void setNurse(Nurse nurse) {
		this.nurse = nurse;
	}

	/**
	 * Get the doctor's orders for the treatment
	 * @return the doctorsOrders for the treatment
	 */
	public DoctorsOrders getDoctorsOrders() {
		return doctorsOrders;
	}

	/**
	 * Set the doctor's orders for the treatment
	 * @param doctorsOrders the doctorsOrders for the treatment
	 */
	public void setDoctorsOrders(DoctorsOrders doctorsOrders) {
		this.doctorsOrders = doctorsOrders;
	}

	/**
	 * Get the patient's symptoms
	 * @return the symptoms of the patient
	 */
	public String getSymptoms() {
		return symptoms;
	}

	/**
	 * Set the patients symptoms
	 * @param symptoms the symptoms of the patient
	 */
	public void setSymptoms(String symptoms) {
		this.symptoms = symptoms;
	}

	// VITAL SIGNS
	
	/**
	 * Gets the patient's blood pressure
	 * @return the bloodPressure of the patient
	 */
	public int[] getBloodPressure() {
		return bloodPressure;
	}

	/**
	 * Sets the patient's blood pressure
	 * @param bloodPressure the bloodPressure to set
	 */
	public void setBloodPressure(int[] bloodPressure) {
		this.bloodPressure = bloodPressure;
	}

	/**
	 * Gets the patients pulse
	 * @return the pulse of the patient
	 */
	public int getPulse() {
		return pulse;
	}

	/**
	 * Sets the patient's pulse
	 * @param pulse The patients pulse
	 */
	public void setPulse(int pulse) {
		this.pulse = pulse;
	}

	/**
	 * Gets the patients temperature
	 * @return The temperature of the patient
	 */
	public double getTemp() {
		return temp;
	}

	/**
	 * Sets the patients temperature
	 * @param temp The temperature of the patient
	 */
	public void setTemp(double temp) {
		this.temp = temp;
	}

	/**
	 * Gets the patient's weight
	 * @return The weight of the patient
	 */
	public double getWeight() {
		return weight;
	}

	/**
	 * Sets the patient's weight
	 * @param weight The weight of the patient
	 */
	public void setWeight(double weight) {
		this.weight = weight;
	}

	/**
	 * Gets the patient's height
	 * @return the height of the patient
	 */
	public int[] getHeight() {
		return height;
	}

	/**
	 * Sets the patient's height
	 * @param height the height of the patient
	 */
	public void setHeight(int[] height) {
		this.height = height;
	}
	
	//// end VITAL SIGNS

	/**
	 * Get the diagnosis of the patient
	 * @return the diagnosis of the patient
	 */
	public String getDiagnosis() {
		return diagnosis;
	}

	/**
	 * Set the diagnosis of the patient
	 * @param diagnosis the diagnosis of the patient
	 */
	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}
	
	

}
